package com.disv.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 注释部门和用户关系表
 *
 * @author hyt
 * @date 2023-06-09 09:33
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DdDeptUserRe implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户的userId
     */
    private String userId;

    /**
     * 部门ID
     */
    private String deptId;

    /**
     * 用户在当前开发者企业帐号范围内的唯一标识
     */
    private String unionId;

    private Date createTime;

    /**
     * 开通第三方企业应用的企业corpid
     */
    private String corpId;
}
